package com.grades.springboot.service;

import com.grades.springboot.entity.Result;
import com.grades.springboot.entity.Teacher;

public interface AdminService {

    Result<?> getTeacherList(Integer pageNum, Integer pageSize);
    Result<?> getTeacherByClass(Integer classId, Integer pageNum, Integer pageSize);

    Result<?> getTeacherBySubject(String subjectName, Integer pageNum, Integer pageSize);

    Result<?> getTeacherById(Integer id, Integer pageNum, Integer pageSize);

    Result<?> getTeacherByName(String name, Integer pageNum, Integer pageSize);

    Result<?> addTeacher(Teacher teacher);
}
